using Volo.Abp.EventBus;

namespace Shard.Contracts.UserService.Etos;

/// <summary>
/// 用户创建事件 - 用于通知其他服务新用户已创建
/// </summary>
[Serializable]
[EventName("UserService.UserCreated")] 
public class UserCreatedEto
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public Guid UserId { get; set; }
    
    /// <summary>
    /// 用户名
    /// </summary>
    public string UserName { get; set; }
    
    /// <summary>
    /// 电子邮件
    /// </summary>
    public string Email { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreationTime { get; set; }
}
